package com.example.oauth.rest;

import com.example.oauth.config.MailConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author void
 * @date 2020/8/20 18:08
 * @desc
 */
@RestController
@RequestMapping("/mail")
public class MailController {
    
    @Autowired
    private MailConfig mailConfig;
    
    @GetMapping("/test")
    public void test(){
        System.out.println(mailConfig.getMailCC());
    }
}
